<?php
namespace app\admin\event\listeners\user;

use app\admin\logic\user\Account as Account;
use app\admin\logic\user\Token as UserToken;

/**
 * 刷新用户授权
 */
class UserTokenRefresh
{
    public static function handle(Account $user)
    {
        app(UserToken::class)->refreshToken($user);
    }
}
